package com.sluggard.security.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sluggard.security.manage.model.entity.DictDataEntity;
import com.sluggard.security.manage.model.req.DictTypeDataReq;

import java.util.List;

/**
 * <p>
 * 字典数据表 服务类
 * </p>
 *
 * @author lizheng
 * @since 2024-05-07
 */
public interface IDictDataService extends IService<DictDataEntity> {

    List<DictDataEntity> selectByDictType(DictTypeDataReq req);

    void saveItems(String type, List<DictDataEntity> req);
}
